<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
header("Access-Control-Allow-Origin:*");
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
/* @var $model app\models\LoginForm */

$this->title = 'Login';
?>
<?=Html::cssFile('@web/css/common.css')?>
<?=Html::cssFile('@web/css/HomePage.css')?>
<?=Html::cssFile('@web/css/BudgetControl.css')?>
<?=Html::cssFile('@web/css/HomePage.css')?>
<?=Html::cssFile('@web/css/HomePage.css')?>
<?=Html::cssFile('@web/css/layer.css')?>
<?=Html::jsFile('@web/js/jquery-1.11.3.min.js')?>
<?=Html::jsFile('@web/js/Home.js')?>
<?=Html::jsFile('@web/js/Organizer.js')?>
<?=Html::jsFile('@web/js/layer.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts/echarts.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts-gl/echarts-gl.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts-stat/ecStat.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts-gl/echarts-gl.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts/extension/dataTool.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts/map/js/china.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts/map/js/world.js')?>
<?=Html::jsFile('http://api.map.baidu.com/api?v=2.0&ak=ZUONbpqGBsYGXNIYHicvbAbM')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/echarts/extension/bmap.min.js')?>
<?=Html::jsFile('http://echarts.baidu.com/gallery/vendors/simplex.js')?>
<?=Html::jsFile('js/BC.js')?>

<body>
<!--logo-->
<?php include_once'../views/public/header.php';?>
<div class="select">
    <ul>
        <!--<?php if(!empty($list)){ ?>
        <?php foreach($list as $vl){ ?>
        <li>
            <span><?=$vl['title_name']?></span>
            <div org_code="" org_type="4" org_id="" class="select_xl">
                <span><?=$vl['departname']?></span>
                <img src="images/select.png" alt=""/>
                <ul class="value1">
                </ul>
            </div>

        </li>
        <?php } ?>
        <?php } ?>-->
        	        <li>
            <span>机构</span>
            <div org_type="" jg_id="" org_code="" class="select_xl person_select1 jg_id">
                <span  >自动化研究所</span>
                <img src="images/select.png" alt="" />
                <ul id="value">
                    <!--                    <li>自动化</li>-->
                </ul>
            </div>
        </li>
         <li>
            <span>部门</span>
            <div org_code="" org_type="4" bm_id="" class="select_xl person_select2 bm_id">
                <span bm_id="" class="">请选择一级单位</span>
                <img src="images/select.png" alt="" />
                <ul id="value atlas_select_li1">
                     <li kt1_id="1f62342862be3edd0162be620f37001f" class="atlas_select_li1">复杂系统管理与控制国家重点实验室</li>
                     <li kt1_id="1f62342862be3edd0162be620f570024" class="atlas_select_li1">高创中心</li>
                     <li kt1_id="1f62342862be3edd0162be620f31001e" class="atlas_select_li1">模式识别国家重点实验室</li>
                     <li kt1_id="1f62342862be3edd0162be620f7e0029" class="atlas_select_li1">类脑智能研究中心</li>
                </ul>
            </div>
        </li>
         <li>
            <span>课题组</span>
            <div ktz_id="" class="select_xl person_select3 kt_id">
                <span kt1_id="" class="kt1_id1">请选择一级单位</span>
                <img src="images/select.png" alt="" />
                <ul id="value">
                    <!--                    <li>自动化</li>-->
                </ul>
            </div>
        </li>
        <li>
            <span>人员</span>
            <div ryz_id="" class="select_xl person_select4 ry_id">
                <span kt1_id1="" class="ry1_id">请选择一级单位</span>
                <img src="images/select.png" alt="" />
                <ul id="value">
                    <!--<li>自动化</li>-->
                </ul>
            </div>
        </li>
        <li>
            <span>课题</span>
            <div org_type="5" user_id="<?=Yii::$app->session->get('id');?>" org_code="" org_id="" class="select_xl person_select5 user_id">
                <span item_id="" class="itemNo">请选择一级单位</span>
                <img src="images/select.png" alt="" />
                <ul id="value">
                </ul>
            </div>
        </li>
        <li>
            <input class="item_but" type="button" value="确认" />
        </li>
    </ul>
    <div class="clearfix"></div>
</div>

<div class="content">
    <div class="content_center">
        <div class="center_left">
            <p>课题经费预算及使用情况</p>
            <div id="container" style="width:100%;height: 98%;margin-top: -20px;"></div>
        </div>
        <div class="center_right">
            <ul>
                <li>
                    <div class="right_span">
                        <span>我是标题</span>
                    </div>
                    <div id="containerL" style="width:100%;height: 100%;margin-top: -30px;"></div>
                </li>
                <li>
                    <div class="right_span">
                        <span>项目说明</span>
                    </div>
                    <div class="right_img">
                        <p>这是文案这是文案这是文案这是文案这是文案这是文案是文案这是文案是文案这是文案是文案这是文案是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案这是文案...</p>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
</body>
<script>
    // $(document).on('click','.item_but',function(){
    //     var item_id = $('.itemNo').attr('item_id');
    //     var user_id = '1f62342a62d214b50162d22124d90007';
    //     $.ajax({
    //         url:"?r=budget/atlasfee",
    //         type:"POST",
    //         data:{item_id:item_id},
    //         dataType:'json',
    //         error:function(error){
    //             console.log(error);
    //         },
    //         success:function(msg){
    //             console.log(msg.data);
    //             // if(msg == 1){
    //             //     alert('登录成功');
    //             //     window.location.href = "http://www.yii.cn/index.php?r=index/index";
    //             // }else if(msg == 2){
    //             //     alert('登录失败');
    //             // }else{
    //             //     alert('用户不存在');
    //             // }
    //         },
    //     })
    // })
</script>
<?php exit; ?>
